package com.log.demo;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * slf4j 日志使用，和aop全局异常处理
 */
@SpringBootApplication
@Slf4j
public class SpringSlf4jDemoApplication {

    public static void main(String[] args) {
        log.info("-----------------项目启动------------");
        SpringApplication.run(SpringSlf4jDemoApplication.class, args);
    }

}
